<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<meta content="width=device-width, initial-scale=1.0" name="viewport"/>
	{% include 'common-css/css.html' %}
	<link href="{{ STATIC_URL }}common/login.css" rel="stylesheet" type="text/css"/>
	<title>登录</title>
</head>
<body>
<div class="form-div layui-main">
	<blockquote class="layui-elem-quote" style="font-size: 20px">yzw_blog 后台系统</blockquote>
	<form action="/handle_login" method="post" autocomplete="off">
		{% csrf_token %}
		<div class="input-group" style="margin-top: 60px">
			<span class="input-group-addon"><span class="glyphicon glyphicon-phone"></span></span>
			<input type="text" class="form-control" name="phone" placeholder="请输入手机号"
			required>
		</div>
		<div class="input-group" style="margin-top: 35px">
			<span class="input-group-addon"><span class="glyphicon glyphicon-lock"></span></span>
			<input type="password" class="form-control" name="password" placeholder="请输入密码"
			required>
		</div>
		<div class="layui-row layui-form" style="margin-top: 35px;">
			<div>
				<button id="submit" class="btn-login">登 录 <i class="glyphicon glyphicon-share-alt"></i></button>
			</div>
		</div>
		<div style="margin-top: 10px">
			<p style="color: red;">{{ msg }}</p>
		</div>
	</form>
</div>
<script type="text/javascript" src="{{ STATIC_URL }}js/jquery-2.0.3.min.js"></script>
<script type="text/javascript" src="{{ STATIC_URL }}layui/layui.js"></script>
<script type="text/javascript">
	layui.use(['form'], function () {})
</script>
</body>
</html>